package cn.edu.wynu.oop.permission;

public class TestPermission {
    public static void main(String[] args) {
        Student zhangSan = new Student();
        zhangSan.name = "张三";
        // zhangSan.id = "44010119900101001X"; 访问不到,因为是private级别,只能在同一个类中访问
        zhangSan.setId("44010119900101001X");
        System.out.println(zhangSan.getId());
    }
}
